.class Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment$1;
.super Lcom/kwad/sdk/api/core/lifecycle/KsGenericLifecycleObserver;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment;


# direct methods
.method constructor <init>(Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment;)V
    .locals 0

    iput-object p1, p0, Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment$1;->a:Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment;

    invoke-direct {p0}, Lcom/kwad/sdk/api/core/lifecycle/KsGenericLifecycleObserver;-><init>()V

    return-void
.end method


# virtual methods
.method public onStateChanged(Lcom/kwad/sdk/api/core/lifecycle/KsLifecycle$KsLifeEvent;)V
    .locals 4

    iget-object v0, p0, Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment$1;->a:Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment;

    invoke-static {v0}, Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment;->a(Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment;)Lcom/kwad/sdk/core/e/b;

    move-result-object v0

    check-cast v0, Lcom/kwad/sdk/splashscreen/b;

    iget-object v0, v0, Lcom/kwad/sdk/splashscreen/b;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_4

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/kwad/sdk/reward/a/a;

    sget-object v2, Lcom/kwad/sdk/splashscreen/KsSplashScreenFragment$3;->a:[I

    invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I

    move-result v3

    aget v2, v2, v3

    const/4 v3, 0x1

    if-eq v2, v3, :cond_3

    const/4 v3, 0x2

    if-eq v2, v3, :cond_2

    const/4 v3, 0x3

    if-eq v2, v3, :cond_1

    const/4 v3, 0x4

    if-eq v2, v3, :cond_0

    goto :goto_0

    :cond_0
    invoke-interface {v1}, Lcom/kwad/sdk/reward/a/a;->f()V

    goto :goto_0

    :cond_1
    invoke-interface {v1}, Lcom/kwad/sdk/reward/a/a;->b_()V

    goto :goto_0

    :cond_2
    invoke-interface {v1}, Lcom/kwad/sdk/reward/a/a;->d()V

    goto :goto_0

    :cond_3
    invoke-interface {v1}, Lcom/kwad/sdk/reward/a/a;->a_()V

    goto :goto_0

    :cond_4
    return-void
.end method
